package com.yunxin.common.utils.oss;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * @author zero°
 * @since 2023-06-05
 */
@Getter
@RequiredArgsConstructor
public enum OssPhotoOperationTypeEnum {

    /**
     * 缩放
     */
    RESIZE(1L, "resize", "图片缩放"),

    /**
     * 质量变换
     */
    QUALITY_EXCHANGE(2L, "quality", "质量变换"),

    /**
     * 持久化
     */
    PERSISTENCE(99L, "sys/saveas", "持久化"),

    ;

    private final Long opCode;


    private final String op;

    private final String description;
}
